package com.hluck.criminalintent.database

import androidx.room.Database
import androidx.room.RoomDatabase
import androidx.room.TypeConverters
import com.hluck.criminalintent.model.Crime

/**
 *
 * @Author： LJH
 * @Time： 2023/11/20
 * @description：
 */
@Database(entities = [Crime::class],version = 1)
@TypeConverters(CrimeTypeConverters::class)
abstract class CrimeDatabase:RoomDatabase() {

    abstract fun  crimeDao():CrimeDao
}